import { defineUserConfig } from 'vuepress'
import { searchProPlugin } from 'vuepress-plugin-search-pro'
import theme from './theme.js'

export default defineUserConfig({
  base: '/',
  lang: 'zh-CN',

  locales: {
    '/': {
      lang: 'zh-CN',
      title: '七仔',
    },
  },

  theme,
  plugins: [
    searchProPlugin({
      indexContent: true,
      hotReload: true,
    }),
  ],
  // Enable it with pwa
  // shouldPrefetch: false,
})
